package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.CustomerRepayPlan;

import java.util.List;

/**
 * 客户还款计划Mapper接口
 */
@Mapper
public interface CustomerRepayPlanMapper extends BaseMapper<CustomerRepayPlan> {
    
    /**
     * 批量插入还款计划
     * @param list 还款计划列表
     * @return 插入的行数
     */
    int insertBatch(@Param("list") List<CustomerRepayPlan> list);
}
